﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddContractorControl.ascx.cs"
            Inherits="ContractManagementSystem.Controls.AddContractorControl" %>
            <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<div class="divWrap">
    <h2 class="divTitle">Add Contractor</h2><br/>
    <table style="width: 35%; height: 100%; margin: 0 auto">
        <tr>
            <td>
                BirthDate:
            </td>
            <td>
                <asp:TextBox ID="BirthDateTextBox" BackColor="white" runat="server"></asp:TextBox>
                <asp:ImageButton ID="Image" runat="server" CssClass="calender" ImageUrl="~/Images/calendar.png" />
                <cc1:CalendarExtender ID="CalendarExtender1" CssClass="cal_Theme1" runat="server"
                                      TargetControlID="BirthDateTextBox" PopupButtonID="Image" PopupPosition="Right">
                </cc1:CalendarExtender>
            </td>
        </tr>
        <tr>
            <td>
                FullName:
            </td>
            <td>
                <asp:TextBox ID="FullNameTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Gender:
            </td>
            <td>
                <asp:DropDownList ID="GenderDropDownList" runat="server">
                    <asp:ListItem>Male</asp:ListItem>
                    <asp:ListItem>FeMale</asp:ListItem>
                    <asp:ListItem>Other</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Email:
            </td>
            <td>
                <asp:TextBox ID="EmailTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Address:
            </td>
            <td>
                <asp:TextBox ID="AddressTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                PhoneNumber 1:
            </td>
            <td>
                <asp:TextBox ID="PhoneNumberTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                PhoneNumber 2:
            </td>
            <td>
                <asp:TextBox ID="PhoneNumbersTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Branch:
            </td>
            <td>
                <asp:TextBox ID="BranchTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="MessageLabel" runat="server"></asp:Label>
            </td>
            <td>
                <asp:Button ID="Submit" runat="server" Text="Submit" OnClick="Submit_Click" />
            </td>
        </tr>
    </table>
</div>
